Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make release status configurable #438

Merged
merged 3 commits into from
Apr 16, 2015

Conversation

dagolden
Copy link

This change introduces a new attribute, 'release_status', and a new
role, D::Z::R::ReleaseStatusProvider.

The 'is_trial' variable is changed to be read-only. This will break the
handful of CPAN modules that try to set it. Those modules should set
the RELEASE_STATUS environment variable before building instead.

For backwards compatibility, 'is_trial' in dist.ini and the TRIAL
environment variable are supported.

This change introduces a new attribute, 'release_status', and a new
role, D::Z::R::ReleaseStatusProvider.

The 'is_trial' variable is changed to be read-only.  This will break the
handful of CPAN modules that try to set it.  Those modules should set
the RELEASE_STATUS environment variable before building instead.

For backwards compatibility, 'is_trial' in dist.ini and the TRIAL
environment variable are supported.
@dagolden
Copy link
Author

I still need to send patches to the affected distributions, so please
don't ship this yet.

dagolden pushed a commit to dagolden/Dist-Zilla-Plugin-TrialVersionComment that referenced this pull request Mar 29, 2015
is_trial is likely to become read-only as a part of
rjbs/Dist-Zilla#438 which adds support for customizing
release status
dagolden pushed a commit to dagolden/p5-dist-zilla-plugin-run that referenced this pull request Mar 29, 2015
is_trial is likely to become read-only as a part of
rjbs/Dist-Zilla#438 which adds support for customizing
release status
dagolden pushed a commit to dagolden/Dist-Zilla-App-Command-update that referenced this pull request Mar 30, 2015
is_trial is likely to become read-only as a part of
rjbs/Dist-Zilla#438 which adds support for customizing
release status
@dagolden
Copy link
Author

OK. All dists that I could find via grep.cpan.me have pull requests, so I think this is ready to go once you've reviewed it.

@karenetheridge
Copy link
Contributor

If there is any runtime code affected, could x_breaks metadata be added for those modules?

@dagolden
Copy link
Author

@karenetheridge, done

@dagolden dagolden force-pushed the configurable-release-status branch from 710cca4 to d0d961c Compare March 31, 2015 16:06
tsibley added a commit to tsibley/Dist-Zilla-App-Command-update that referenced this pull request Apr 1, 2015
As David Golden pointed out in PR #2, is_trial is likely to become
read-only as a part of rjbs/Dist-Zilla#438 which adds support for
customizing release status.

Using TRIAL maintains maximum compatibility with current versions of
dzil as well as future versions.
@tsibley
Copy link

tsibley commented Apr 1, 2015

::update 0.05, just released, ensures compat with this PR.

@rjbs
Copy link
Owner

rjbs commented Apr 16, 2015

Thanks, 5.035 released!

@rjbs rjbs closed this Apr 16, 2015
@rjbs rjbs merged commit d0d961c into rjbs:master Apr 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants